package top.lyjwn.todo.weinxin.exception;

import top.lyjwn.todo.weinxin.data.error.WxError;

/**
 * 微信公众号_用户模块_异常
 *
 * @author luoyujie
 *
 */
public class WXBUserException extends Exception {

	/**
	 *
	 */
	private static final long serialVersionUID = -8205996670815483180L;

	private String message;

	private WxError error;

	public WXBUserException() {
		super();
	}

	public WXBUserException(String message, WxError error) {
		super();
		this.message = message;
		this.error = error;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public WxError getError() {
		return error;
	}

	public void setError(WxError error) {
		this.error = error;
	}

}
